package com.rover022.flixelgame.world
{
	import flash.utils.getQualifiedClassName;
	import org.flixel.FlxState;
	import org.flixel.FlxText;

	public class BaseState extends FlxState
	{
		public function BaseState()
		{
			super();
		}

		/**
		 * 当world被创建的时候
		 *
		 */
		override public function create():void
		{
			// TODO Auto Generated method stub
			super.create();
			var _classname:String = getQualifiedClassName(this);
			var _decText:FlxText = new FlxText(0, 0, 400, _classname);
			add(_decText);
			//
			loaderAsset();
		}

		/**
		 * 加载素材..
		 *
		 */
		public function loaderAsset():void
		{
		}

		/**
		 * 初始化世界
		 *
		 */
		public function initWorld():void
		{
		}
		
	}
}
